package com.dongjiantong.sys.enums;

/**
 * 单位表枚举
 * @author Lee
 * @date 2018/1/18
 */
public enum DicUnitEnum {
    SYS_UNIT_HEAD(1,"头"),
    SYS_UNIT_single(2,"只"),
    SYS_UNIT_FEATHER(3,"羽"),
    SYS_UNIT_GRAM(4,"克"),
    SYS_UNIT_MILLILITER(5,"毫升"),
    SYS_UNIT_PART(6,"头份"),
    SYS_UNIT_KG(7,"KG"),
    SYS_UNIT_STRIP(8,"条"),
    SYS_UNIT_MATCH(9,"匹"),
    SYS_UNIT_MILLIGRAM(10,"毫克");

    //码
    private final Integer code;
    //名
    private final String name;

    DicUnitEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
